<#include "/frame/header.ftl"/>
<#if fight_result?exists>
	<#assign fightResult = fight_result/>
	<#if fightResult.status == 0>
		<#if the_monster?exists>
			<#assign monster = the_monster/>
				<#if player.curHp == 0>
					你已经被<@a href="/${sid}/M_VM?${monster.monsterId}/${pid}"/>${monster.name}</a>杀害|<@a href="/${pid}/P_VM"/>复活到主城</a>
				<br />
				</#if>
				<#if monster.curHp == 0>
					你杀死了:${monster.name}
				<br />
				<#if exp?exists && (exp > 0)>
					获得经验:${exp}
				<br />
				</#if>
				<#if money?exists && (money > 0)>
					获得碎银:${money}
				<br />
				</#if>
				<#if gold?exists && (gold > 0)>
					恭喜你人品爆发获得金币:${gold}
				<br />
				</#if>
				<#if no_burden?exists && player_item?exists>
				<#assign playerItemVo = player_item/>
					由于负重不够，掉落的{<@a href="/${sid}/B_VCI?${playerItemVo.itemId}/${pid}"/>${playerItemVo.name}</a>×1}未能捡取，直接归于尘土。。。
				<#elseif player_item?exists>
					<#assign playerItemVo = player_item/>
					<@a href="/${sid}/B_VCI?${playerItemVo.itemId}/${pid}"/>${playerItemVo.name}</a>×1
				<br />
				</#if>
				
				<br />
				<#if items?exists && (items?size > 0)>
					<#if no_room?exists>
					由于行囊空间不够，掉落的
					<#list items as item>
						{<@a href="/${sid}/B_VCI?${item.id}/${pid}"/>${item.name}</a>×${item.num}}
					</#list>
					未能捡取，直接归于尘土。。。
					<#else>
						<#list items as item>
							<@a href="/${sid}/B_VCI?${item.id}/${pid}"/>${item.name}</a>×${item.num}<br />
						</#list>
					</#if>
				<br />
				</#if>
					<#else>
						你目前正在和${monster.name}进行激励的战斗。。。<br /><br />
						${player.name} level:${player.level}
						<br />
						hp:${player.curHp}/${player.hp}
						<br />
						mp:${player.curMp}/${player.mp}
						<br /><br />
						${monster.name} level:${monster.level}
						<br />
						hp:${monster.curHp}/${monster.hp}
						<br />
						mp:${monster.curMp}/${monster.mp}
						<br /><br />
				</#if>
				
				<@a href="/${sid}/P_VM/${pid}"/>返回主页面</a>--|--
				<#if (player.curHp > 0) && (monster.curHp > 0)>
					<@a href="/${sid}/P_VM/${pid}"/>逃跑</a>--|--<@a href="/${sid}/M_HM?${monster.monsterId}/${pid}"/>继续攻击</a>
					<#elseif (player.curHp > 0)><@a href="/${sid}/M_FM/${pid}"/>继续寻怪</a><br />
				</#if>
		</#if>
	</#if>
	<#if fightResult.status == 1>
		怪物已经被别人抢走<@a href="/${sid}/M_FM/${pid}" />继续寻怪</a>
		<br />
	</#if>
	<#if fightResult.status == 2>
		您的位置参数有误<@a href="/${sid}/M_FM/${pid}" />继续寻怪</a>
		<br />
	</#if>
	<#if fightResult.status == 3>
		怪物已经不存在<@a href="/${sid}/M_FM/${pid}" />继续寻怪</a>
		<br />
	</#if>
</#if>
</card>
</wml>
